package com.fgi.interview.test.geekbang;

import java.util.concurrent.TimeUnit;

/**
 * @author HanXu
 * @date 2023/9/17
 **/
public class StopAndSeeThread {
    public static void main(String[] args) throws InterruptedException {


        long l = TimeUnit.DAYS.toHours(1);
        Object o = new Object();
        o.wait();
        o.notify();
        m1();
    }

    public static void m1() {
        int a = 111;
        m2();
    }

    public static void m2() {
        m3();
    }

    public static void m3() {
        int a = 222;
        m4();
    }

    public static void m4() {
        m5();
    }

    public static void m5() {
        int a = 555;
        m6();
    }

    public static void m6() {
        System.out.println("断点停住");
    }
}
